begincreaturescript;
variables;
int choice;
body;
beginstate INIT_STATE;
break;
beginstate DEAD_STATE;

break;
beginstate START_STATE;
    if (get_flag(5, 0) == 1) {
           approach_waypoint(6, 0, 1);
           if (dist_to_waypoint(6, 0) < 2)
               stop_moving();
               set_flag(5, 0, 2);
           if (dist_to_waypoint(6, 0) > 5) {
               set_terrain(25, 11, 16);
               set_terrain(15, 21, 17);
               approach_waypoint(6, 0, 1);
               }
           }
    if (town_status(5) == 2)
        set_state_continue(3);
break;
beginstate 3;
    message_dialog("_I hate strangers!_ is what he says before he grabs a wand and fires it at you.", "");
    kill_char(1000, 1, 0);
break;
beginstate TALKING_STATE;
    begin_talk_mode(1);
break;